#ifndef HNETDEVICE_H
#define HNETDEVICE_H

#include "common/datatype.h"

#include <QObject>

#include <QVector>

class HNetDevicePrivate;
class HNetDevice : public QObject
{
    Q_OBJECT
    Q_DECLARE_PRIVATE(HNetDevice)
public:
    explicit HNetDevice(QObject *parent = nullptr);

    bool initDeviceInfo();
    int  captureOnce();

    void printDevsInfo();

    QVector<DeviceInfo> deviceInfo() const;

    QVector<DataInfo> captureData() const;

signals:

public slots:

private:

    QVector<DeviceInfo>  m_deviceInfo;
    QVector<DataInfo>    m_captureData;

};

#endif // HNETDEVICE_H
